package e310

func copyBuf(src []byte, srcOffset int, dest []byte, destOffset int, n int) {
	for j := 0; j < n; j++ {
		dest[j+destOffset] = src[j+srcOffset]
	}
}

func crc(bs []byte) (sum byte) {
	for _, b := range bs {
		sum += b
	}
	return
}
